https://rstudio.github.io/dygraphs/gallery-custom-plotters.html
# install.packages("plotly") # if you haven't installed the package
library(plotly)
p <- ggplot(data = mpg, aes(x = displ, y = cty)) +
geom_point()
ggplotly(p)
# install.packages("ggiraph")
# install.packages("ggplot2")
require("ggiraph")
require("ggplot2")
data("mpg")
g <- ggplot(mpg, aes( x = displ, y = cty, color = hwy) )
my_gg <- g + geom_point_interactive(aes(tooltip = model), size = 2)
ggiraph(code = print(my_gg) )
# install.packages("dygraphs", dependencies = T)
require("dygraphs")
lungDeaths <- cbind(ldeaths, mdeaths, fdeaths)
dygraph(lungDeaths, main = "Deaths from Lung Disease (UK)") %>%
dyHighlight(highlightCircleSize = 5,
highlightSeriesBackgroundAlpha = 0.2,
hideOnMouseOut = FALSE)
http://rosuda.org/software/iPlots/
install.packages("iplots",dep=TRUE)
require(iplots)
ihist(iris$Sepal.Length)